﻿#ifndef THREADMANGER_H
#define THREADMANGER_H

#include <QObject>

class WorkThread;
class ThreadManger : public QObject
{
	Q_OBJECT

public:
	ThreadManger(QObject *parent = 0);
	~ThreadManger();

public:
	static void initThreadManger(int count = 4);
	static WorkThread * getMinPayThread();

private:
	static QList<WorkThread *> listThread;
};

#endif // THREADMANGER_H
